package nc.bs.itf.yfk;

import java.util.List;

import nc.vo.pub.BusinessException;

import com.alibaba.fastjson.JSONObject;

public interface IBIPAttachService {
	
	/**
	 * 附件上传NC65 
	 * @param pk_id   单据pk
	 * @param fname 文件夹名称 
	 * @param userid  单据创建人 
	 * @param attURLs 固定格式  [{"attachmentPath":"htt","attachmentType","pdf","attachmentName":"测试001"},{}]
	 * @throws BusinessException
	 */
	public void uploadAttachToBIPURL(String pk_id,String fname,String userid,List<JSONObject> attURLs) throws BusinessException;

	/**
	 * 通过文件流上传
	 * @param pk_id
	 * @param fname
	 * @param userid
	 * @param attURLs
	 * @throws BusinessException
	 */
	public void uploadAttachToBIPInputStream(String pk_id,String fname,String userid,List<JSONObject> attURLs) throws BusinessException;
	
}
